package com.jbit.dm_160.alipay;

import java.io.FileWriter;
import java.io.IOException;

/* *
 *类名：AlipayConfig
 *功能：基础配置类
 *详细：设置帐户有关信息及返回路径
 *修改日期：2017-04-05
 *说明：
 *以下代码只是为了方便商户测试而提供的样例代码，商户可以根据自己网站的需要，按照技术文档编写,并非一定要使用该代码。
 *该代码仅供学习和研究支付宝接口使用，只是提供一个参考。
 */

public class AlipayConfig {

//↓↓↓↓↓↓↓↓↓↓请在这里配置您的基本信息↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓

	// 应用ID,您的APPID，收款账号既是您的APPID对应支付宝账号
	public static String app_id = "9021000129691851";

	// 商户私钥，您的PKCS8格式RSA2私钥
    public static String merchant_private_key = "MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCicg7xjtM63BDd/KUrtQa7fmRcsaclsFqvFrKhYebyLux5JANr9k93JDoTLIXBTbfuJEOgCPTWxe+bgY6NW04PeJEYs5AvVkf/HzFOraVr4k5od4j42SMVC/HJvsKcTIdvbLMZV+AAk2q12O3qqovXQWDUADvCOpuBH8bdCaV3js3FhQrUJdFo5FbFgTJNnMYMef0ZsJYj1yImMvefH3Ee2U2O27Pw8a2469TTSbQMNJaVMv6xOWWiVP9Ln+TQuhnB39bWzihcWHH/MC1eP2mK6uH2nTn/J+lV7euZk4CmcJ7l4kRL9ZP2gonNbdwSViCw7LkddMAzJrjZas+YiECxAgMBAAECggEAFYwViVsNj7AjGJ7rdcm0U+hm/Zie+DPVQ4Y6OYfX72Xj/gmV3ps0XTRT87kjIMnjTNZIlhC6EUb+Cl18ACoNR6YRcPpYdL74G9ISY0JLP+0rw1WfuIpsydzkvILuI3dPO6tqckEiuFDVhbt5i3gFxo6oflZtlszZVZ5WbXlbFmmHC5qpubdKQQzmOYGXYi7eBreNQLCQWrSkJHUFN86Fda+VMdSQVlV2qunFICuizfXu1+SMYxf6Xr6khmFYjtskBWGdHM+T72Ar9itB1LCFYUBS7T9t9v1tN6BxAS0ScjJfCVVnkHc6t3F4Uy7JPq7DLPDWJDmvrjCGvtK2tYRcdQKBgQDtrkTjrzDteFhjU9swq3PwPvyUGrL9rmQTzWCLciaHPgZW+4qICXavFM23P9ZC5BCRXMPjaf8JhijxdPnjwKE8aXHaJWN7/0murjBepP8IHsl+5HWOVVUOq8WomYEEYAHtrkA/jThRo+AC1r+ilsz8mpaO/oSYzug4Y/VkDR/GVwKBgQCu906aR1pBMc0VgSTgNyn6Pkq6tboY4LtyNJ/WuiiN352L1xYXh05SDxfIaUl6W1StBp/Okv1MZHgNzu/Gkj21fE8rPUduKyr+ndrKR0YIYBgxlG1AkxPXiqChbMur+XzSJmRqDassCiBAcYnXqy8XFFz2/t+MI+RcQXe7G+H8NwKBgAdTa8QozjVDlFXba9IgNr6c8mQOPp4bFfKWTfd+WTmp68AamLaAtCvJVF3lldER/oC8fz0vMzEz9Wcb1+fxNAcMqPm0VVCpGbhMnikMpN+3Mza6C/WLI8gD+1+q+5MK8oRE7q4GyEmb53eu7tEwHLlcem+F4Mhk+DtkuVeQH/6ZAoGBAJytq36uTJ06+nq6VgpOe9GyfHrsB0UF4fVoOIYx1+UMDOnP5uGU8ca760E1P25JYO88kliK+jaxdWxwFfmMtaPSOJbw3glCsNKnCui+oHEZlDC5yIfd7RPD+Qn1AgHzfRo29Q6fRNxACReMVLKDgby6KHGqVQcKkREoMw6j7l9LAoGANs10HuaQU3rBNfMr/L9CcKQLXOS1Pzb/UQdARLPA86Ws3yPOsvkSR6xqEfhlaFkSwvhXOH3DU4aKNlkf2BbVCAgu1imTQBKTph18LAALctB/atBIEO+J7hoE5RwNeyu9XuoJlYxEIlbZPMtvdC3lRi13jd39WF1PVHf8PB1Lgzk=";

	// 支付宝公钥,查看地址：https://openhome.alipay.com/platform/keyManage.htm 对应APPID下的支付宝公钥。
    public static String alipay_public_key = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAkN/9ttFOagqlAqP+X60PgdZUBM3MDl7bsFZDZbanXxMaU5IThv27GA9vnWvyWKrTjCmR1OPLZq+C4NP9Xpyg9W5PI/bNQ7Q8fK4wyroUtE6SpnYgILCWn9d1NqODTnryIBjfGPKUHi10Whqc5dyY6iuixWa6G19FAusb8W+Q+TzCI8clmrZFeDIdeLRpbBFaLaH2zPfI1m4sj2+ZR2KJQp9uw/Yv2Gf+FUXHqEHljxRNffXPe904PGi0NPWEhlbwzCReapy1aASJwugO1P8th8qqJtVfouoxwS6Rr5DAu0spzH05kt71GTdlWcpPq2dWCy7Mwkn2ZxYevU2r8WPpXwIDAQAB";

	// 服务器异步通知页面路径  需http://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问
	public static String notify_url = "http://localhost:8080/alipay/paysucess";

	// 页面跳转同步通知页面路径 需http://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问
	public static String return_url = "http://localhost:8080/alipay/returnUrl";

	// 签名方式
	public static String sign_type = "RSA2";

	// 字符编码格式
	public static String charset = "utf-8";

	// 支付宝网关
	public static String gatewayUrl = "https://openapi-sandbox.dl.alipaydev.com/gateway.do";

	public static String type = "json";

	// 支付宝日志保存位置
	public static String log_path = "C:\\";



}

